﻿using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinFromMediaPlayerDemo.Model;

namespace WinFromMediaPlayerDemo.Common
{
    public class FileDownloadBase
    {
        /// <summary>
        /// 默认分区大小1MB
        /// </summary>
        public uint DefaultPartionSize => 1024000;//1MB
        /// <summary>
        /// 所有文件总大小
        /// </summary>
        public ulong TotalFilesSize { get; private set; }
        /// <summary>
        /// 已下载文件大小
        /// </summary>
        public ulong DownloadFilesSize { get; private set; }
        /// <summary>
        /// 文件总数
        /// </summary>
        public uint FileCount { get; private set; }


        /// <summary>
        /// 文件下载列表
        /// </summary>
        public ConcurrentQueue<RemoteFileInfo> DownloadFiles { get; private set; }
    }
}
